﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Shape
    {
        private string color;
        private double radius;
        private string type;
        public string Type { get { return this.type; } set { this.type = value; } }
        public int Color { get; set; }
        public double Radius { get { return this.radius; } set { this.radius = value; } }

        public virtual void GetArea()
        {
            Console.WriteLine("请输入要计算的面积类型:请选择圆形或正方形");
            Type= Console.ReadLine();
        }
    }
}
